package com.example.JavaWebApi.service.systemService;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.JavaWebApi.model.entity.systemEntity.Roleinfo;
import com.example.JavaWebApi.model.vo.systemVo.IntegerBothBindVo;

/**
*
* @ClassName: RoleinfoService
* @Description: TODO(这里用一句话描述这个类的作用)
* @author 杨泽
* @date 2022-06-15
*/
public interface IRoleinfoService  {
 IPage<Roleinfo> getRoleList(int page,int limit);
 boolean create(Roleinfo roleinfo);
 boolean update(Roleinfo roleinfo);
 boolean delete(String roleId);
 boolean roleForUser(IntegerBothBindVo vo);
 boolean cancelRoleForUser(IntegerBothBindVo vo);
 boolean roleForMenu(IntegerBothBindVo vo);
 }